# 定义一个列表存放斐波那契数列
list = [1, 1]


def fibo_func(n):
  i = 2
  while i != n:
    h = list[-1] + list[-2]
    list.append(h)
    i += 1
  print(list)


if __name__ == '__main__':
  n = int(input("请输入正整数："))
  if n >= 0:
    fibo_func(n)
  else:
    print("数据格式错误，请输入正整数")
